@Override
public CustomResult delete(String string) {
productMapper.deleteByPrimaryKey(string);
return CustomResult.ok();
}
@Override
@Override
public CustomResult delete(String string) {
int i = productMapper.deleteByPrimaryKey(string);
if(i>=0){
return CustomResult.ok();
}else{
return null;
}
}